package com.appleyk.repository;

import com.appleyk.model.Genre;
import com.appleyk.model.Industry;
import org.springframework.data.neo4j.annotation.Query;
import org.springframework.data.neo4j.repository.Neo4jRepository;
import org.springframework.data.repository.query.Param;

import java.util.List;

public interface IndustryRepository extends Neo4jRepository<Industry, Long>{

//	 @Query("MATCH (n:Genre) where n.name='日本AV' return n")
//	 List<Genre> getGenres(@Param("name") String name);
//
//	 List<Genre> findByName(@Param("name") String name);
}
